Includes APIs for getting XML files.
More...
|
| def | MV_CC_InvalidateNodes (self) |
| | Clears the buffer of the GenICam node. More...
|
| |
| def | MV_XML_GetGenICamXML (self, pData, nDataSize, pnDataLen) |
| | Gets the XML file of device feature tree. More...
|
| |
| def | MV_XML_GetNodeAccessMode (self, strName, penAccessMode) |
| | Gets the access mode of the current node. More...
|
| |
| def | MV_XML_GetNodeInterfaceType (self, strName, penInterfaceType) |
| | Gets the type of the current node. More...
|
| |
| def | MV_CC_FeatureSave (self, strFileName) |
| | Saves device features. More...
|
| |
| def | MV_CC_FeatureLoad (self, strFileName) |
| | Imports device features. More...
|
| |
| def | MV_CC_FeatureLoadEx (self, strFileName, pstNodeErrorList) |
| | Imports device features, and saves error information list. More...
|
| |
Includes APIs for getting XML files.
◆ MV_CC_InvalidateNodes()
| def MvCameraControl_class.MV_CC_InvalidateNodes |
( |
|
self | ) |
|
Clears the buffer of the GenICam node.
- Parameters
-
| handle | [IN] It refers to device handle / frame grabber handle. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_XML_GetGenICamXML()
| def MvCameraControl_class.MV_XML_GetGenICamXML |
( |
|
self, |
|
|
|
pData, |
|
|
|
nDataSize, |
|
|
|
pnDataLen |
|
) |
| |
Gets the XML file of device feature tree.
- Parameters
-
| handle | [IN] It refers to device handle / frame grabber handle. |
| pData | [IN][OUT] It refers to received XML data buffer. |
| nDataSize | [IN] It refers to the receive buffer size. |
| pnDataLen | [IN][OUT] It refers to the actual data size. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_XML_GetNodeAccessMode()
| def MvCameraControl_class.MV_XML_GetNodeAccessMode |
( |
|
self, |
|
|
|
strName, |
|
|
|
penAccessMode |
|
) |
| |
Gets the access mode of the current node.
- Parameters
-
| handle | [IN] It refers to device handle / frame grabber handle. |
| strName | [IN] It refers to the node name. |
| penAccessMode | [IN][OUT] It refers to the access mode for node. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_XML_GetNodeInterfaceType()
| def MvCameraControl_class.MV_XML_GetNodeInterfaceType |
( |
|
self, |
|
|
|
strName, |
|
|
|
penInterfaceType |
|
) |
| |
Gets the type of the current node.
- Parameters
-
| handle | [IN] It refers to device handle / frame grabber handle. |
| strName | [IN] It refers to the node name. |
| penInterfaceType | [IN][OUT] It refers to the node type. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CC_FeatureSave()
| def MvCameraControl_class.MV_CC_FeatureSave |
( |
|
self, |
|
|
|
strFileName |
|
) |
| |
Saves device features.
- Parameters
-
| handle | [IN] It refers to device handle / frame grabber handle. |
| strFileName | [IN] It refers to the feature file name. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CC_FeatureLoad()
| def MvCameraControl_class.MV_CC_FeatureLoad |
( |
|
self, |
|
|
|
strFileName |
|
) |
| |
Imports device features.
- Parameters
-
| handle | [IN] It refers to device handle / frame grabber handle. |
| strFileName | [IN] It refers to the feature file name. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
◆ MV_CC_FeatureLoadEx()
| def MvCameraControl_class.MV_CC_FeatureLoadEx |
( |
|
self, |
|
|
|
strFileName, |
|
|
|
pstNodeErrorList |
|
) |
| |
Imports device features, and saves error information list.
- Parameters
-
| handle | [IN] It refers to device handle / frame grabber handle. |
| strFileName | [IN] It refers to the feature file name. |
| pstNodeErrorList | [IN OUT] It refers to the error message list. This parameter is requested by the user externally and filled with data internally, and the value null indicates that the user is not concerned about error occurred when importing. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.